﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using AbpVueDemo.SystemBase.DictionaryTableManager;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AbpVueDemo.SystemBase.DictionaryTypeTableManager.Dto
{
	/// <summary>
	/// 字典类别添加 数据传输对象   lzh
	/// [AutoMapTo(typeof(DictionaryTypeTable))] 表示可以从 DictionaryTableTypeCreateDto 自动转换为 DictionaryTypeTable
	/// 继承自EntityDto  默认有Id
	/// </summary>
	[AutoMapTo(typeof(DictionaryTypeTable))]
	public class DictionaryTableTypeCreateDto: EntityDto<string>
	{
		
		/// <summary>
		/// 字典类别名称
		/// </summary>
		[Required]
		[StringLength(100)]
		public string dt_type_name
		{
			get; set;
		}
		/// <summary>
		/// 字典类别备注
		/// </summary>
		[StringLength(200)]
		public string dt_type_remark
		{
			get; set;
		}
		/// <summary>
		/// 
		/// </summary>
		[Required]
		public decimal dt_type_orderby
		{
			get; set;
		}
		
		
	}
}
